package cn.edu.lingnan.lsqn.dao;

import java.util.List;

import cn.cdahua.basic.dao.IBaseDao;
import cn.edu.lingnan.lsqn.model.Role;

public interface IRoleDao extends IBaseDao<Role> {


	public List<Role> list(String hql, Object[] args);

	public List<Role> list(String hql, Object arg);

	public List<Role> list(String hql);

	public List<Role> list();

	public void updateByHql(String hql, Object[] args);

	public void updateByHql(String hql, Object arg);

	public void updateByHql(String hql);

	public void deleteRoleUsers(int rid);
}
